package com.wyh.lotterysystem.service;

import com.wyh.lotterysystem.controller.request.CreatePrizeRequest;
import com.wyh.lotterysystem.controller.request.PrizeListRequest;
import com.wyh.lotterysystem.service.dto.PageDTO;
import com.wyh.lotterysystem.service.dto.PrizeListDTO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface PrizeService {
    //创建奖品
    Integer createPrize(CreatePrizeRequest request, MultipartFile file);

    PageDTO<PrizeListDTO> findPrizeList(PrizeListRequest request);
}
